﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InvoiceProject.Enums;

namespace InvoiceProject.Models
{
    public class BusinessViewModelCreateUpdate
    {
        [Display(Name = "Account Type")]
        public IEnumerable<SelectListItem> AccountTypes { get; set; }
        public string SelectedValue { get; set; }
        public Business Business { get; set; }
        

        public BusinessViewModelCreateUpdate()
        {
         //   AccountTypes = InvoiceProject.Helpers.SelectExtensions.ToSelectList(typeof(AccountType), AccountType.Free.ToString());
         //   SelectedValue = AccountType.Free.ToString();

        }

    }
}